package com.health.healthSys.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;

/**
 * 资讯分类对象 info_category
 * 
 * @author maple
 * @date 2025-02-28
 */
public class InfoCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    private String categoryId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 资讯管理信息 */
    private List<HealthInfo> healthInfoList;

    public void setCategoryId(String categoryId) 
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public List<HealthInfo> getHealthInfoList()
    {
        return healthInfoList;
    }

    public void setHealthInfoList(List<HealthInfo> healthInfoList)
    {
        this.healthInfoList = healthInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("healthInfoList", getHealthInfoList())
            .toString();
    }
}
